package com.beordie.dao;

import com.beordie.model.Menu;
import com.beordie.model.Role;

import java.util.List;

/**
 * @Classname IMenuDao
 * @Description TODO
 * @Date 2021/6/13 22:17
 * @Created 30500
 */
public interface IMenuDao {
    /**
     * @description 获取数据条数
     * @author 30500
     * @date 2021/6/19 22:36
     * @type []
     * @return int
     */
    public int getAllTotal();

    /**
     * @description 分页查询
     * @author 30500
     * @date 2021/6/19 22:37
     * @type [int, int]
     * @return java.util.List<com.beordie.model.Menu>
     */
    public List<Menu> getByLimit(int index, int pageSize);

    /**
     * @description 获取所有的菜单信息
     * @author 30500
     * @date 2021/6/20 12:48
     * @type []
     * @return java.util.List<com.beordie.model.Menu>
     */
    public List<Menu> getAll();
}
